package com.ibeeking.gmc.global.g.rest.service;


import java.util.List;

/**
 * IRedisService
 *
 * @Author ibeeking
 * @Date 2020-12-02 16:06
 */
public interface IRedisService {
    String view(Integer database, String key);

    List<String> viewByPrefix(Integer database, String keyPrefix);

    Boolean delOne(Integer database, String key);

    Boolean delByPrefix(Integer database, String keyPrefix);
}
